﻿namespace FFF.Test.Entity.FW.View
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.AutoMapper;
    using Abp.Domain.Entities;
    using FFF.Test.Entity.Framework.View;

	/// <summary>
    /// 功能表(树)视图
    /// </summary>
	[Table("View_FW_Function")]
    [Display(Name = "功能表(树)视图", Description = "功能表(树)视图")]
    [AutoMapTo(typeof(ViewFWFunction))]  
    public partial class ViewFWFunction : BaseView<Guid>
    {
        /// <summary>
        /// 功能GUID
        /// </summary>
		[Display(Name = "功能GUID", Description = "功能GUID")]
        [Column("FunctionGUID")]
        public override Guid Id { get; set; }
           
         /// <summary>
        /// 所属模块GUID
        /// </summary>
		[Display(Name = "所属模块GUID", Description = "所属模块GUID")]
        [Column("ModuleGUID")]
         public Guid? ModuleGUID { get; set; }
           
         /// <summary>
        /// 功能名称
        /// </summary>
		[Display(Name = "功能名称", Description = "功能名称")]
        [Column("FunctionName", TypeName = "VARCHAR(128)")]
		[StringLength(128)]
        public string FunctionName { get; set; }
           
         /// <summary>
        /// 功能代码
        /// </summary>
		[Display(Name = "功能代码", Description = "功能代码")]
        [Column("FunctionCode", TypeName = "VARCHAR(128)")]
		[StringLength(128)]
        public string FunctionCode { get; set; }
           
         /// <summary>
        /// 页面地址
        /// </summary>
		[Display(Name = "页面地址", Description = "页面地址")]
        [Column("FunctionUrl", TypeName = "VARCHAR(512)")]
		[StringLength(512)]
        public string FunctionUrl { get; set; }
           
         /// <summary>
        /// 说明
        /// </summary>
		[Display(Name = "说明", Description = "说明")]
        [Column("FunctionComments", TypeName = "VARCHAR(9999)")]
		[StringLength(9999)]
        public string FunctionComments { get; set; }
           
         /// <summary>
        /// 是否禁用
        /// </summary>
		[Display(Name = "是否禁用", Description = "是否禁用")]
        [Column("FunctionIsDisable")]
         public byte FunctionIsDisable { get; set; }
           
         /// <summary>
        /// 功能帮助文件
        /// </summary>
		[Display(Name = "功能帮助文件", Description = "功能帮助文件")]
        [Column("FunctionHelpUrl", TypeName = "VARCHAR(512)")]
		[StringLength(512)]
        public string FunctionHelpUrl { get; set; }
           
         /// <summary>
        /// 租户的GUID
        /// </summary>
		[Display(Name = "租户的GUID", Description = "租户的GUID")]
        [Column("TenantId")]
         public Guid? TenantId { get; set; }
           
         /// <summary>
        /// 创建时间
        /// </summary>
		[Display(Name = "创建时间", Description = "创建时间")]
        [Column("CreateTime")]
         public DateTime CreateTime { get; set; }
           
         /// <summary>
        /// 公司GUID
        /// </summary>
		[Display(Name = "公司GUID", Description = "公司GUID")]
        [Column("BuUnitGUID")]
         public Guid? BuUnitGUID { get; set; }
           
         /// <summary>
        /// 父级的ID
        /// </summary>
		[Display(Name = "父级的ID", Description = "父级的ID")]
        [Column("ParentGUID")]
         public Guid? ParentGUID { get; set; }
           
         /// <summary>
        /// 树形的层级Code
        /// </summary>
		[Display(Name = "树形的层级Code", Description = "树形的层级Code")]
        [Column("FullCode", TypeName = "VARCHAR(1024)")]
		[StringLength(1024)]
        public string FullCode { get; set; }
           
         /// <summary>
        /// 树形的排序编码
        /// </summary>
		[Display(Name = "树形的排序编码", Description = "树形的排序编码")]
        [Column("OrderCode", TypeName = "VARCHAR(1024)")]
		[StringLength(1024)]
        public string OrderCode { get; set; }
           
         /// <summary>
        /// 对应的图标
        /// </summary>
		[Display(Name = "对应的图标", Description = "对应的图标")]
        [Column("Icon", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string Icon { get; set; }
           
         /// <summary>
        /// 菜单首字母缩写
        /// </summary>
		[Display(Name = "菜单首字母缩写", Description = "菜单首字母缩写")]
        [Column("FunctionFirstLeShort", TypeName = "VARCHAR(512)")]
		[StringLength(512)]
        public string FunctionFirstLeShort { get; set; }
           
         /// <summary>
        /// 菜单拼音
        /// </summary>
		[Display(Name = "菜单拼音", Description = "菜单拼音")]
        [Column("FunctionPinYin", TypeName = "VARCHAR(512)")]
		[StringLength(512)]
        public string FunctionPinYin { get; set; }
           
         /// <summary>
        /// FunctionOrderCode
        /// </summary>
		[Display(Name = "FunctionOrderCode", Description = "FunctionOrderCode")]
        [Column("FunctionOrderCode", TypeName = "VARCHAR(1540)")]
		[StringLength(1540)]
        public string FunctionOrderCode { get; set; }
           
         /// <summary>
        /// ParentFunctionName
        /// </summary>
		[Display(Name = "ParentFunctionName", Description = "ParentFunctionName")]
        [Column("ParentFunctionName", TypeName = "VARCHAR(128)")]
		[StringLength(128)]
        public string ParentFunctionName { get; set; }
           
         /// <summary>
        /// 模块名称
        /// </summary>
		[Display(Name = "模块名称", Description = "模块名称")]
        [Column("ModuleName", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string ModuleName { get; set; }
           
         /// <summary>
        /// ApplicationGUIDs
        /// </summary>
		[Display(Name = "ApplicationGUIDs", Description = "ApplicationGUIDs")]
        [Column("ApplicationGUIDs", TypeName = "VARCHAR(9999)")]
		[StringLength(9999)]
        public string ApplicationGUIDs { get; set; }
           
    }
}
